* {
    margin: 0;
    padding: 0;
}

/* 右侧固定栏 */
.right-fixed {
    position: fixed;
    right: 0;
    width: 50px;
    height: 100%;
    background-color: #444851;
    z-index: 3;
}

.right-fixed-list {
    list-style: none;
}

.right-fixed-list li {
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
}

.right-fixed-list li:hover {
    background-color: #ed145b;
}

.right-fixed-list li {
    width: 50px;
    height: 50px;
    display: block;
    cursor: pointer;
}

.right-fixed-list li:nth-child(1) {
    margin-top: 200px;
    display: block;
}

.right-fixed-list li span {
    position: relative;
    top: 15px;
    margin-left: 16px;
}

.right-fixed-list li:nth-child(1) span {
    display: block;
    background: url(../images/ibar_sprites.png) no-repeat;
    width: 18px;
    height: 19px;
    background-position: 0 0;
}

.right-fixed-list li:nth-child(1):hover span {
    background: url(../images/ibar_sprites.png) no-repeat;
    background-Position: -33px 0px;
}

.right-fixed-list li:nth-child(2) {
    font-size: 12px;
    width: 50px;
    height: 120px;
    color: white;
}

.right-fixed-list li:nth-child(2) a {
    text-decoration: none;
    color: white;
}

.right-fixed-list li span:nth-child(2) {
    position: relative;
    top: 30px;
    left: 5px;
}

.right-fixed-list li:nth-child(2) span:nth-child(1) {
    display: block;
    background: url(../images/ibar_sprites.png) no-repeat;
    width: 23px;
    height: 18px;
    background-position: 0 -29px;
}

.right-fixed-list li:nth-child(2):hover span:nth-child(1) {
    background: url(../images/ibar_sprites.png) no-repeat;
    background-Position: -33px -29px;
}

.right-fixed-list li:nth-child(3) span {
    display: block;
    background: url(../images/ibar_sprites.png) no-repeat;
    width: 18px;
    height: 18px;
    background-position: 0 -57px;
}

.right-fixed-list li:nth-child(3):hover span {
    background: url(../images/ibar_sprites.png) no-repeat;
    background-Position: -33px -57px;
}

.right-fixed-list li:nth-child(4) span {
    display: block;
    background: url(../images/ibar_sprites.png) no-repeat;
    width: 18px;
    height: 15px;
    background-position: 0 -85px;
}

.right-fixed-list li:nth-child(4):hover span {
    background: url(../images/ibar_sprites.png) no-repeat;
    background-Position: -33px -85px;
}

.right-fixed-list li:nth-child(5) span {
    margin-left: 20px;
    display: block;
    background: url(../images/ibar_sprites.png) no-repeat;
    width: 11px;
    height: 24px;
    background-position: -4px -110px;
}

.right-fixed-list li:nth-child(5):hover span {
    background: url(../images/ibar_sprites.png) no-repeat;
    background-Position: -37px -110px;
}

.right-fixed-list li:nth-child(6) {
    margin-top: 80px;
}

.right-fixed-list li:nth-child(6) span {
    display: block;
    background: url(../images/ibar_sprites.png) no-repeat;
    width: 18px;
    height: 18px;
    background-position: 0 -302px;
}

.right-fixed-list li:nth-child(6):hover span {
    background: url(../images/ibar_sprites.png) no-repeat;
    background-Position: -0 -302px;
}

.right-fixed-list li:nth-child(7) span {
    display: block;
    background: url(../images/ibar_sprites.png) no-repeat;
    width: 15px;
    height: 16px;
    background-position: 0 -175px;
}

.right-fixed-list li:nth-child(7):hover span {
    background: url(../images/ibar_sprites.png) no-repeat;
    background-Position: -33px -175px;
}

/* 头部 */
.p1{
    display: block;
    float: left;
}
.p2{
    display: none;
    float: left;
}
.header-box {
    width: 100%;
    height: auto;
    border-top: 2px solid #e5e5e5;
    border-bottom: 2px solid #e5e5e5;
    box-shadow: 0px 1px 2px rgb(0 0 0 / 10%);
    box-sizing: border-box;
}

.header {
    width: 960px;
    height: 32px;
    margin: 0 auto;
}

.header p {
    line-height: 32px;
    float: right;
    font-size: 12px;
}

.header p span {
    color: #ed145b;
}

/* logo部分 */
.logo-box {
    width: 960px;
    height: 68px;
    margin: 0 auto;
}

.logo {
    float: left;
}

.logo img {
    float: left;
    margin-top: 10px;
}

.logo-box .logo-right {
    margin-top: 10px;
    float: right;
    width: 380px;
    height: 48px;
    background: url(http://f0.jmstatic.com/static_cart/dist/20191009_1/images/order_path.png) no-repeat;
    background-position: -2px -2px;
}

/* 购物车 */
.cart {
    margin: 0 auto;
    width: 960px;
    min-height: 500px;
    padding: 50px 70px 70px;
}

.cart-img img {
    float: left;
}

.cart-img h1 {
    float: left;
    color: #e5e5e5;
    margin-left: 30px;
}

.cart-img p {
    margin-top: 20px;
    float: left;
    margin-left: 30px;
    height: 40px;
}

.buy a {
    text-decoration: none;
    color: #ed145b;
}

td img {
    width: 60px;
}

td {
    min-width: 100px;
}

td a {
    display: inline-block;
    width: 20px;
    height: 20px;
    color: black;
    background-color: blanchedalmond;
    text-align: center;
    text-decoration: none;
}

td input[type="text"] {
    text-align: center;
    width: 50px;
    height: 20px;
    display: inline-block;
    box-sizing: content-box;
}

.cart table {
    border-width: 1px;
    border: #ed145b;
    border-collapse: collapse;
}

table th {
    margin-top: 20px;
    word-break: break-all;
    word-wrap: break-word;
    font: 500 14px Arial;
    background-color: #ed145b;
    color: white;
}

table {
    text-align: center;
    border-collapse: collapse;
    border-spacing: 1;
    border-spacing: 0;
}


table td {
    height: 150px;
    word-break: break-all;
    word-wrap: break-word;
    border-bottom: 1px solid #939598;
    border-top: 1px solid #939598;
    font: 500 14px Arial
}
.sumNum{
    font-size: 20px;
    font-weight: bolder;
    color: #ed145b;
}
.sumPrice{
    font-size: 20px;
    font-weight: bolder;
    color: #ed145b;
}
table td:nth-last-child(1),table td:nth-last-child(2),table td:nth-last-child(3),table td:nth-last-child(4),table td:nth-last-child(5),table td:nth-last-child(6),table td:nth-last-child(7){
    border-bottom: none;
}
/* 底部 */
.footer-box {
    width: 100%;
    height: 140px;
    margin: 0 auto;
    background-color: #e5e5e5;
}

.footer-copy {
    width: 960px;
    height: 140px;
    margin: 0 auto;
    background-color: #e5e5e5;
    text-align: center;
    overflow: hidden;
}

.footer-box p {
    margin-top: 20px;
    font-size: 14px;
}

.footer>div {
    width: 128px;
    height: 50px;
    margin-top: 8px;
    float: left;
    margin-right: 10px;
}

.footer {
    width: auto;
    height: auto;
    margin-left: 134px;
}

.footer-copy div:nth-of-type(1) {
    background: url(../images/header_corn_new_v2.png) no-repeat;
    background-position: 0 -167px;
}

.footer-copy div:nth-of-type(2) {
    background: url(../images/header_corn_new_v2.png) no-repeat;
    background-position: 0 -218px;
}

.footer-copy div:nth-of-type(3) {
    background: url(../images/header_corn_new_v2.png) no-repeat;
    background-position: 0 -269px;
}

.footer-copy div:nth-of-type(4) {
    background: url(../images/header_corn_new_v2.png) no-repeat;
    background-position: 0 -320px;
}

.footer-copy div:nth-of-type(5) {
    background: url(../images/header_corn_new_v2.png) no-repeat;
    background-position: 0 -371px;
}

table {
    margin: 0 auto
}

tbody img {
    width: 80px;
}

tbody input[type=number] {
    width: 40px;
}